From: Sandro Knauß Date: Tue, 30 Jul 2024 10:35:29 +0000 (+0200) Subject: GIT_SHA1 points to the sha1 of upstream. X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1^2^2~3 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=deff8355e49d252f31123cbdcd94dd617b5bb007;p=nextcloud-desktop.git GIT_SHA1 points to the sha1 of upstream. Origin: Debian Forwarded: not-needed Last-Update: 2024-07-30 Gbp-Pq: Name 0004-GIT_SHA1-points-to-the-sha1-of-upstream.patch --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 140ffa8ec..8cf4499d8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -112,9 +112,8 @@ include(GNUInstallDirs) include(DefineInstallationPaths) include(GenerateExportHeader) -include(GetGitRevisionDescription) - -get_git_head_revision(GIT_REFSPEC GIT_SHA1) +# On Debian we always have use a released version +set(GIT_SHA1 "GITDIR-NOTFOUND") add_definitions( -DQT_DISABLE_DEPRECATED_BEFORE=0x051200